<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <title>protocol</title>
</head>
<body>
<h3>Connection</h3>
<br>
<h4>Client connect request</h4>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <td style="vertical-align: top;"><span
 style="font-family: monospace;">Connect byte, see<br>
StdProtocolMethod::CONNECT_xxx</span><br>
      </td>
      <td style="vertical-align: top;">COID version<br>
      </td>
      <td style="vertical-align: top;">flags:<br>
shared/unique acc<br>
req.access mode<br>
encrypt,compress</td>
      <td style="vertical-align: top;">service version<br>
      </td>
      <td style="vertical-align: top;">service name<br>
      </td>
      <td style="vertical-align: top;">nmethods<br>
methflags<br>
      </td>
      <td style="vertical-align: top;">server object UID<br>
      </td>
      <td style="vertical-align: top;">client PID<br>
      </td>
      <td style="vertical-align: top;">client's<br>
this<br>
pointer<br>
      </td>
      <td style="vertical-align: top;">custom parameters<br>
      </td>
    </tr>
  </tbody>
</table>
<br>
server response:<br>
<br>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <td style="vertical-align: top;" rowspan="1" colspan="7"><a
 href="opcd_type.html"><span style="font-family: monospace;">opcd</span></a>
request status == error<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;" rowspan="2" colspan="1"><a
 href="opcd_type.html"><span style="font-family: monospace;">opcd</span></a>
request status == no error<br>
      </td>
      <td style="vertical-align: top;" rowspan="2" colspan="1">custom
parameters<br>
(output)</td>
      <td style="vertical-align: top;" rowspan="1" colspan="2">flags:
encrypt,compress<br>
access mode == interprocess,net<br>
      </td>
      <td colspan="3" rowspan="1" style="vertical-align: top;">channel
ID</td>
    </tr>
    <tr>
      <td style="vertical-align: top;" rowspan="1" colspan="1">flags;<br>
access mode == direct</td>
      <td style="vertical-align: top;" colspan="1">vtbl pointer</td>
      <td style="vertical-align: top;">object pointer</td>
      <td style="vertical-align: top;">mutex pointer<br>
      </td>
    </tr>
  </tbody>
</table>
<br>
</body>
</html>
